package org.jeecg.modules.stCaigd.vo;

import java.util.List;
import org.jeecg.modules.stCaigd.entity.HqStCaigd;
import org.jeecg.modules.stCaigd.entity.HqStCaigdDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 食堂采购单
 * @Author: jeecg-boot
 * @Date:   2020-08-09
 * @Version: V1.0
 */
@Data
@ApiModel(value="hq_st_caigdPage对象", description="食堂采购单")
public class HqStCaigdPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
	private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**原材料分类*/
	@Excel(name = "原材料分类", width = 15)
	@ApiModelProperty(value = "原材料分类")
	private String yuanclfl;
	/**采购单名称*/
	@Excel(name = "采购单名称", width = 15)
	@ApiModelProperty(value = "采购单名称")
	private String name;
	/**合计金额*/
	@Excel(name = "合计金额", width = 15)
	@ApiModelProperty(value = "合计金额")
	private Double hejje;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
	private String remarks;
	
	@ExcelCollection(name="采购单详情")
	@ApiModelProperty(value = "采购单详情")
	private List<HqStCaigdDetail> hqStCaigdDetailList;
	
}
